package com.atguigu.spzx.user.service;

import com.atguigu.spzx.model.dto.api.ApiUserRegisterDTO;
import com.atguigu.spzx.model.entity.user.UserInfo;
import com.atguigu.spzx.model.vo.api.user.ApiUserInfoVO;
import com.baomidou.mybatisplus.extension.service.IService;

public interface UserInfoService extends IService<UserInfo> {
    void register(ApiUserRegisterDTO userRegisterDTO);

    String login(ApiUserRegisterDTO userRegisterDTO);

    ApiUserInfoVO getCurrentUserInfo();

    void logout(String token);

    void updateLoginInfo(UserInfo userInfo);
}
